package com.cjst.pojo.part;


import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 部件
 * @author yj
 *
 */
@TableName(name="t_parts")
public class Parts extends PoModel{
	
	private static final long serialVersionUID = 1L;

	@FieldName(name="part_parent_id")
    private String partParentId;			//部件父类id

	@FieldName(name="part_name")
    private String partName;				//部件名称

	@FieldName(name="part_no")
    private String partNo;				//部件编码

	@FieldName(name="area_id")
    private String areaId;					//区域id

	@FieldName(name="part_address")
    private String partAddress;				//详细地址

	@FieldName(name="lonitude")
    private String lonitude;				//经度

	@FieldName(name="latitude")
    private String latitude;					//纬度

	@FieldName(name="part_doa")
    private String partDoa;				//方向角

	@FieldName(name="part_state")
    private Integer partState;				//部件状态0正常，1借调，待审核

	@FieldName(name="open_time")
    private String openTime;				//部件开发时间   ["2019-11-01~2019-11-01"]   数组形式

	@FieldName(name="part_description")
    private String partDescription;					//部件描述

	@FieldName(name="part_model")
    private String partModel;						//部件型号

	@FieldName(name="part_mind")
    private Integer partMind;						//是否智能（0否，1是）

	@FieldName(name="mind_type")
    private Integer mindType;					//智能类型（根据实际开发定义）

	@FieldName(name="part_leader")
    private String partLeader;						//主管单位

	@FieldName(name="part_direct")
    private String partDirect;					//责任单位

	@FieldName(name="part_supervise")
    private String partSupervise;					//监理单位

	@FieldName(name="part_sort")
    private Integer partSort;

	@FieldName(name="create_by")
    private String createBy;

	@FieldName(name="create_time")
    private String createTime;

	@FieldName(name="update_by")
    private String updateBy;

	@FieldName(name="update_time")
    private String updateTime;

	@FieldName(name="fback1")
    private String fback1;

	@FieldName(name="fback2")
    private String fback2;

	@FieldName(name="del_flag")
    private Integer delFlag;		//是否删除，0否，1是   查询时候需要where.method("delFlag",c.eq,0)  查询未被删除的
	
    private String tbImg;	
    public String getPartParentId() {
        return partParentId;
    }

    public void setPartParentId(String partParentId) {
        this.partParentId = partParentId == null ? null : partParentId.trim();
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName == null ? null : partName.trim();
    }

    public String getPartNo() {
        return partNo;
    }

    public void setPartNo(String partNo) {
        this.partNo = partNo == null ? null : partNo.trim();
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
    }

    public String getPartAddress() {
        return partAddress;
    }

    public void setPartAddress(String partAddress) {
        this.partAddress = partAddress == null ? null : partAddress.trim();
    }

    public String getLonitude() {
        return lonitude;
    }

    public void setLonitude(String lonitude) {
        this.lonitude = lonitude == null ? null : lonitude.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getPartDoa() {
        return partDoa;
    }

    public void setPartDoa(String partDoa) {
        this.partDoa = partDoa == null ? null : partDoa.trim();
    }

    public Integer getPartState() {
        return partState;
    }

    public void setPartState(Integer partState) {
        this.partState = partState;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime == null ? null : openTime.trim();
    }

    public String getPartDescription() {
        return partDescription;
    }

    public void setPartDescription(String partDescription) {
        this.partDescription = partDescription == null ? null : partDescription.trim();
    }

    public String getPartModel() {
        return partModel;
    }

    public void setPartModel(String partModel) {
        this.partModel = partModel == null ? null : partModel.trim();
    }

    public Integer getPartMind() {
        return partMind;
    }

    public void setPartMind(Integer partMind) {
        this.partMind = partMind;
    }

    public Integer getMindType() {
        return mindType;
    }

    public void setMindType(Integer mindType) {
        this.mindType = mindType;
    }

    public String getPartLeader() {
        return partLeader;
    }

    public void setPartLeader(String partLeader) {
        this.partLeader = partLeader == null ? null : partLeader.trim();
    }

    public String getPartDirect() {
        return partDirect;
    }

    public void setPartDirect(String partDirect) {
        this.partDirect = partDirect == null ? null : partDirect.trim();
    }

    public String getPartSupervise() {
        return partSupervise;
    }

    public void setPartSupervise(String partSupervise) {
        this.partSupervise = partSupervise == null ? null : partSupervise.trim();
    }

    public Integer getPartSort() {
        return partSort;
    }

    public void setPartSort(Integer partSort) {
        this.partSort = partSort;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getFback1() {
        return fback1;
    }

    public void setFback1(String fback1) {
        this.fback1 = fback1 == null ? null : fback1.trim();
    }

    public String getFback2() {
        return fback2;
    }

    public void setFback2(String fback2) {
        this.fback2 = fback2 == null ? null : fback2.trim();
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

	public String getTbImg() {
		return tbImg;
	}

	public void setTbImg(String tbImg) {
		this.tbImg = tbImg;
	}
}